   //覆盖一些element-ui样式
.block-checkbox {
  display: block;
}

.el-button{
  border-radius: 2px;
}

.el-message{
  top: 50px;
}

.operation-container {
  .cell {
    padding: 10px !important;
  }
  .el-button {
    &:nth-child(3) {
      margin-top: 10px;
      margin-left: 0px;
    }
    &:nth-child(4) {
      margin-top: 10px;
    }
  }
}

.el-radio-group{
  .el-radio-button{
    &:first-child .el-radio-button__inner {
      border-radius: 0;
      border-left: 1px solid rgba(0,0,0,0);
    }
    &:last-child .el-radio-button__inner {
      border-radius: 0;
    }
    .el-radio-button__inner {
      box-shadow: none;
      background-color: rgba(0,0,0,0);
      border: 1px solid rgba(0,0,0,0);
      margin-right: 10px;
      padding: 5px 10px;
    }
    &.is-active{
      &:first-child .el-radio-button__inner {
        border-radius: 0;
      }
      &:last-child .el-radio-button__inner {
        border-radius: 0;
      }
      .el-radio-button__inner {
        box-shadow: none;
        background-color: rgba(0,0,0,0);
        color: #20a0ff;
        border: 1px solid #20a0ff;
      }
    }
  }
}

// 购物车
.xyd-el-table1{
  .el-table{
    border: none;
    .t-b-item1{
      padding: 20px 0;
      .t-b-i-left{
        float: left;
      }
      .t-b-i-right{
        float: left;
        width: 270px;
        .title{
          color: #333;
          font-weight: 700;
        }
        .description{
          color: #666;
          font-size: 12px;
          line-height: 20px;
        }
      }
    }
    th{
      background-color: #fff;
      .cell{
        background-color: #fff;
      }
    }
    &:after{
      width: 0px;
    }
  }
}

// 订购课程
.xyd-el-table2{
  margin-top: 20px;
  .el-table{
    border: none;
    &:after{
      width: 0px;
    }
    thead{
      th{
        background-color: #f8f8f8;
        .cell{
          background-color: #f8f8f8;
        }
      }
    }
    tbody{
      tr{
        td{
          padding: 20px 0;
        }
      }
    }
  }
}

.el-tooltip__popper.nav-second-link{
  font-size: 14px;
  border-radius: 0;
  &.is-dark {
    background-color: rgba(0,0,0,.6);
    padding: 20px;
  }
  .popper__arrow{
    border-bottom-color: rgba(0,0,0,0) !important;
  }
  .popper__arrow::after{
    border-bottom-color: rgba(0,0,0,.6) !important;
  }
}

.el-carousel{
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    text-align: center;
    margin: 0;
  }
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }
  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
  .el-carousel__indicators{
    .el-carousel__indicator{
      .el-carousel__button {
        width: 6px;
        height: 6px;
        border-radius: 3px;
      }
    }
  }
}

.el-select, .el-cascader{
  .el-input__inner {
    border-radius: 2px;
    border: 1px solid #e5e6e7;
  }
  .el-input .el-input__icon{
    color: #666;
  }
}

.el-textarea{
  .el-textarea__inner{
    border-radius: 2px;
    border: 1px solid #e5e6e7;
    &::-webkit-input-placeholder{
      color: #ccc;
    }
    &:-moz-placeholder{
      color: #ccc;
    }
    &::-moz-placeholder{
      color: #ccc;
    }
    &:-ms-input-placeholder{
      color: #ccc;
    }
  }
  .el-textarea__inner:hover{
    border-color: #8391a5;
  }
  .el-textarea__inner:focus{
    border-color: #20a0ff;
  }
}

.el-input{
  .el-input__inner{
    border-radius: 2px;
    border: 1px solid #e5e6e7;
    &::-webkit-input-placeholder{
      color: #ccc;
    }
    &:-moz-placeholder{
      color: #ccc;
    }
    &::-moz-placeholder{
      color: #ccc;
    }
    &:-ms-input-placeholder{
      color: #ccc;
    }
  }
  .el-input__inner:hover{
    border-color: #8391a5;
  }
  .el-input__inner:focus{
    border-color: #20a0ff;
  }
}

.el-input-group__append, .el-input-group__prepend {
  border-color: #e5e6e7;
}

// 树状选择
.xyd-c-content{
  .el-tree{
    border: none;
  }
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 8px;
  }
}

.small-padding {
  .cell {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .el-dialog__header {
    height: 60px;
    padding: 0 20px;
    line-height: 60px;
    text-align: center;
    background-color: #EEEEEE;
  }
  .dialog-footer {
    text-align: center;
    .cancel-btn {
      height: 38px;
      width: 160px;
      font-size: 16px;
      margin-right: 38px;
    }
    .yellow-btn {
      height: 38px;
      width: 160px;
      font-size: 16px;
      margin-right: 38px;
    }
    .common-btn {
      height: 38px;
      width: 160px;
      font-size: 16px;
    }
  }
}


//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
